package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.StoreRoleMenu;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-02-26
 */
public interface StoreRoleMenuService extends IService<StoreRoleMenu> {

    int dropByRoleId(Long roleId);

    List<StoreRoleMenu> getByRoleId(Long roleId);

    int dropByRoleIdNotMenuIds(Long roleId, List<Long> menuIds);

    int dropByMenuId(Long menuId);

}
